package com.an.vhr.service;

import com.an.vhr.mapper.MenuRoleMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @Author: an1089
 **/
@Service
public class MenuRoleService {
    @Resource
    MenuRoleMapper menuRoleMapper;

    @Transactional
    public void deleteMenuRoleByRid(Integer id) {
        menuRoleMapper.deleteByRid(id);
    }
}
